#include "pluginMain.h"
#include "jinputcontext.h"
#include <QTECore/jlog.h>
#include <QFile>

QT_BEGIN_NAMESPACE

static const char *pluginName = "qtevirtualkeyboard";

QPlatformInputContext *JPlatformInputContextPlugin::
create(const QString& key, const QStringList &paramList)
{
	Q_UNUSED(paramList);
	if( key.compare(key, QLatin1String(pluginName), Qt::CaseInsensitive) == 0 )
	{
		jInfo() << QString("Create %1 platform input context").arg(pluginName);
		return new QTE::JInputContext();
	}
	return nullptr;
}

QStringList JPlatformInputContextPlugin::keys() const
{
	return QStringList { "qteirtualkeyboard" };
}

QT_END_NAMESPACE

// #include "pluginmain.moc"
